package javase0825.demo05;

import javase0825.Demo05;

public class Foo extends Thread{
    private Demo05 d;

    public Foo(Demo05 d) {
        this.d = d;
    }

    @Override
    public void run() {
        for (int i = 0; i < 1000; i++) {
            d.jianshao();
        }
    }
}
